﻿
using __ts.Core.Plugin;

namespace server.test_2_0_0
{
    /// <summary>
    /// 
    /// </summary>
    public class Plugin : PluginBase<Contract, Service, Plugin>
    {
        public override string Key
        {
            get { return "test_2_0_0_key"; }
        }

        public override string Description
        {
            get { return "for test_2_0_0"; }
        }

        /// <summary>
        /// 插件托管前事件
        /// </summary>
        public override void BeforeStartUp()
        {
            base.BeforeStartUp();

            // 你的代码

        }
        /// <summary>
        /// 插件托管后事件
        /// </summary>
        public override void OnStartUp()
        {
            base.OnStartUp();

            // 你的代码

        }
    }
}
